home *** CD-ROM | disk | FTP | other *** search
/ Champak 122 / Vol 122.iso / games / gem_stri.swf / scripts / __Packages / mx / events / UIEventDispatcher.as < prev   
Encoding:
Text File  |  2011-01-06  |  9.6 KB  |  247 lines

  1. var ┬º\x01┬º = 706;
  2. while(true)
  3. {
  4.    if(eval("\x01") == 706)
  5.    {
  6.       set("\x01",eval("\x01") - 277);
  7.       ┬º┬ºpush(true);
  8.    }
  9.    else
  10.    {
  11.       if(eval("\x01") == 686)
  12.       {
  13.          set("\x01",eval("\x01") + 233);
  14.          break;
  15.       }
  16.       if(eval("\x01") == 429)
  17.       {
  18.          set("\x01",eval("\x01") + 516);
  19.          if(┬º┬ºpop())
  20.          {
  21.             set("\x01",eval("\x01") - 491);
  22.          }
  23.       }
  24.       else
  25.       {
  26.          if(eval("\x01") == 945)
  27.          {
  28.             set("\x01",eval("\x01") - 491);
  29.             removeMovieClip(┬º┬ºpop());
  30.             break;
  31.          }
  32.          if(eval("\x01") == 454)
  33.          {
  34.             set("\x01",eval("\x01") - 443);
  35.             ┬º┬ºpush(true);
  36.          }
  37.          else if(eval("\x01") == 286)
  38.          {
  39.             set("\x01",eval("\x01") - 25);
  40.             ┬º┬ºpush(true);
  41.          }
  42.          else if(eval("\x01") == 11)
  43.          {
  44.             set("\x01",eval("\x01") + 858);
  45.             if(┬º┬ºpop())
  46.             {
  47.                set("\x01",eval("\x01") + 64);
  48.             }
  49.          }
  50.          else if(eval("\x01") == 261)
  51.          {
  52.             set("\x01",eval("\x01") + 425);
  53.             if(┬º┬ºpop())
  54.             {
  55.                set("\x01",eval("\x01") + 233);
  56.             }
  57.          }
  58.          else if(eval("\x01") == 337)
  59.          {
  60.             set("\x01",eval("\x01") - 257);
  61.             if(┬º┬ºpop())
  62.             {
  63.                set("\x01",eval("\x01") + 206);
  64.             }
  65.          }
  66.          else
  67.          {
  68.             if(eval("\x01") == 80)
  69.             {
  70.                set("\x01",eval("\x01") + 206);
  71.                ┬º┬ºpop() extends ┬º┬ºpop();
  72.                ┬º┬ºpush(┬º┬ºpop() >>> (┬º┬ºpop() > (┬º┬ºpop() | ┬º┬ºpop())));
  73.                break;
  74.             }
  75.             if(eval("\x01") == 869)
  76.             {
  77.                set("\x01",eval("\x01") + 64);
  78.                ┬º┬ºpush(┬º┬ºpop() / ┬º┬ºpop());
  79.                break;
  80.             }
  81.             if(eval("\x01") == 919)
  82.             {
  83.                set("\x01",eval("\x01") - 304);
  84.                if(!_global.mx)
  85.                {
  86.                   _global.mx = new Object();
  87.                }
  88.                ┬º┬ºpop();
  89.                if(!_global.mx.events)
  90.                {
  91.                   _global.mx.events = new Object();
  92.                }
  93.                ┬º┬ºpop();
  94.                if(!_global.mx.events.UIEventDispatcher)
  95.                {
  96.                   mx.events.UIEventDispatcher = function()
  97.                   {
  98.                      super();
  99.                   }.addKeyEvents = function(obj)
  100.                   {
  101.                      if(obj.keyHandler == undefined)
  102.                      {
  103.                         var _loc0_ = null;
  104.                         var _loc1_ = obj.keyHandler = new Object();
  105.                         _loc1_.owner = obj;
  106.                         _loc1_.onKeyDown = mx.events.UIEventDispatcher._fEventDispatcher.onKeyDown;
  107.                         _loc1_.onKeyUp = mx.events.UIEventDispatcher._fEventDispatcher.onKeyUp;
  108.                      }
  109.                      Key.addListener(obj.keyHandler);
  110.                   };
  111.                   mx.events.UIEventDispatcher = function()
  112.                   {
  113.                      super();
  114.                   }.removeKeyEvents = function(obj)
  115.                   {
  116.                      Key.removeListener(obj.keyHandler);
  117.                   };
  118.                   mx.events.UIEventDispatcher = function()
  119.                   {
  120.                      super();
  121.                   }.addLoadEvents = function(obj)
  122.                   {
  123.                      if(obj.onLoad == undefined)
  124.                      {
  125.                         obj.onLoad = mx.events.UIEventDispatcher._fEventDispatcher.onLoad;
  126.                         obj.onUnload = mx.events.UIEventDispatcher._fEventDispatcher.onUnload;
  127.                         if(obj.getBytesTotal() == obj.getBytesLoaded())
  128.                         {
  129.                            obj.doLater(obj,"onLoad");
  130.                         }
  131.                      }
  132.                   };
  133.                   mx.events.UIEventDispatcher = function()
  134.                   {
  135.                      super();
  136.                   }.removeLoadEvents = function(obj)
  137.                   {
  138.                      delete obj.onLoad;
  139.                      delete obj.onUnload;
  140.                   };
  141.                   mx.events.UIEventDispatcher = function()
  142.                   {
  143.                      super();
  144.                   }.initialize = function(obj)
  145.                   {
  146.                      if(mx.events.UIEventDispatcher._fEventDispatcher == undefined)
  147.                      {
  148.                         mx.events.UIEventDispatcher._fEventDispatcher = new mx.events.UIEventDispatcher();
  149.                      }
  150.                      obj.addEventListener = mx.events.UIEventDispatcher._fEventDispatcher.__addEventListener;
  151.                      obj.__origAddEventListener = mx.events.UIEventDispatcher._fEventDispatcher.addEventListener;
  152.                      obj.removeEventListener = mx.events.UIEventDispatcher._fEventDispatcher.removeEventListener;
  153.                      obj.dispatchEvent = mx.events.UIEventDispatcher._fEventDispatcher.dispatchEvent;
  154.                      obj.dispatchQueue = mx.events.UIEventDispatcher._fEventDispatcher.dispatchQueue;
  155.                   };
  156.                   mx.events.UIEventDispatcher.prototype = new mx.events.EventDispatcher().dispatchEvent = function(eventObj)
  157.                   {
  158.                      if(eventObj.target == undefined)
  159.                      {
  160.                         eventObj.target = this;
  161.                      }
  162.                      this[eventObj.type + "Handler"](eventObj);
  163.                      this.dispatchQueue(mx.events.EventDispatcher,eventObj);
  164.                      this.dispatchQueue(this,eventObj);
  165.                   };
  166.                   mx.events.UIEventDispatcher.prototype = new mx.events.EventDispatcher().onKeyDown = function(Void)
  167.                   {
  168.                      this.owner.dispatchEvent({type:"keyDown",code:Key.getCode(),ascii:Key.getAscii(),shiftKey:Key.isDown(16),ctrlKey:Key.isDown(17)});
  169.                   };
  170.                   mx.events.UIEventDispatcher.prototype = new mx.events.EventDispatcher().onKeyUp = function(Void)
  171.                   {
  172.                      this.owner.dispatchEvent({type:"keyUp",code:Key.getCode(),ascii:Key.getAscii(),shiftKey:Key.isDown(16),ctrlKey:Key.isDown(17)});
  173.                   };
  174.                   mx.events.UIEventDispatcher.prototype = new mx.events.EventDispatcher().onLoad = function(Void)
  175.                   {
  176.                      if(this.__sentLoadEvent != true)
  177.                      {
  178.                         this.dispatchEvent({type:"load"});
  179.                      }
  180.                      this.__sentLoadEvent = true;
  181.                   };
  182.                   mx.events.UIEventDispatcher.prototype = new mx.events.EventDispatcher().onUnload = function(Void)
  183.                   {
  184.                      this.dispatchEvent({type:"unload"});
  185.                   };
  186.                   mx.events.UIEventDispatcher.prototype = new mx.events.EventDispatcher().__addEventListener = function(event, handler)
  187.                   {
  188.                      this.__origAddEventListener(event,handler);
  189.                      var _loc3_ = mx.events.UIEventDispatcher.lowLevelEvents;
  190.                      for(var _loc5_ in _loc3_)
  191.                      {
  192.                         if(mx.events.UIEventDispatcher[_loc5_][event] != undefined)
  193.                         {
  194.                            var _loc2_ = _loc3_[_loc5_][0];
  195.                            mx.events.UIEventDispatcher[_loc2_](this);
  196.                         }
  197.                      }
  198.                   };
  199.                   mx.events.UIEventDispatcher.prototype = new mx.events.EventDispatcher().removeEventListener = function(event, handler)
  200.                   {
  201.                      var _loc6_ = "__q_" + event;
  202.                      mx.events.EventDispatcher._removeEventListener(this[_loc6_],event,handler);
  203.                      if(this[_loc6_].length == 0)
  204.                      {
  205.                         var _loc2_ = mx.events.UIEventDispatcher.lowLevelEvents;
  206.                         for(var _loc5_ in _loc2_)
  207.                         {
  208.                            if(mx.events.UIEventDispatcher[_loc5_][event] != undefined)
  209.                            {
  210.                               var _loc3_ = _loc2_[_loc5_][1];
  211.                               mx.events.UIEventDispatcher[_loc2_[_loc5_][1]](this);
  212.                            }
  213.                         }
  214.                      }
  215.                   };
  216.                   mx.events.UIEventDispatcher = function()
  217.                   {
  218.                      super();
  219.                   }.keyEvents = {keyDown:1,keyUp:1};
  220.                   mx.events.UIEventDispatcher = function()
  221.                   {
  222.                      super();
  223.                   }.loadEvents = {load:1,unload:1};
  224.                   mx.events.UIEventDispatcher = function()
  225.                   {
  226.                      super();
  227.                   }.lowLevelEvents = {keyEvents:["addKeyEvents","removeKeyEvents"],loadEvents:["addLoadEvents","removeLoadEvents"]};
  228.                   mx.events.UIEventDispatcher = function()
  229.                   {
  230.                      super();
  231.                   }._fEventDispatcher = undefined;
  232.                   ┬º┬ºpush(ASSetPropFlags(mx.events.UIEventDispatcher.prototype,null,1));
  233.                }
  234.                ┬º┬ºpop();
  235.                break;
  236.             }
  237.             if(eval("\x01") != 933)
  238.             {
  239.                break;
  240.             }
  241.             set("\x01",eval("\x01") - 596);
  242.             ┬º┬ºpush(true);
  243.          }
  244.       }
  245.    }
  246. }
  247.